package com.howtoplay.gateserver;

import com.howtoplay.gateserver.Task.StartTask;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class GateserverApplication {

    public static void main(String[] args) {
        ApplicationContext ac = SpringApplication.run(GateserverApplication.class, args);
        StartTask app = ac.getBean(StartTask.class);
        app.runApp();
    }
}
